//
//  EHLogger.swift
//  ExtremeHealth
//
//  Created by Zhongkai Li 李忠凯 on 2018/9/30.
//  Copyright © 2018 GanDongKeJi. All rights reserved.
//

class EHLogger {

    static func debug(in obj: AnyObject, msg: CustomDebugStringConvertible...) {
        debugPrint("\(String(describing: type(of: obj))): [\(Date())] 💚 DEBUG", msg)
    }

    static func error(in obj: AnyObject, msg: CustomDebugStringConvertible...) {
        debugPrint("\(String(describing: type(of: obj))): [\(Date())] ❤️ ERROR", msg)
    }
}
